package com.zhangmeng.online.exam.dao;

import com.zhangmeng.online.exam.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @author zm
 * @date 2025/2/28 16:03
 * @version: 1.0
 */
public interface UserDao extends JpaRepository<User, Long>, JpaSpecificationExecutor<User> {

    public User findByUsername(String username);

}
